package by.dvrudenko.avtobaza.dataaccess;

import java.util.List;

import javax.persistence.metamodel.SingularAttribute;

import by.dvrudenko.avtobaza.datamodel.Responses;

public interface ResponsesDao extends AbstractDao<Long, Responses> {
	
	List<Responses> getRandomResponses(Integer count);
	
	Long getCount();
	
	List<Responses> getAllResponses(SingularAttribute<Responses, ?> attr, boolean ascending, int startRecord, int pageSize);
	


}
